import request from '@/utils/request'

export function selectById(url,data) {
  return request({
    url: url,
    method: 'post',
    data
  })
}

export function listByPage(url,data) {
  return request({
    url: url,
    method: 'post',
    data
  })
}

export function add(url,data) {
  return request({
    url: url,
    method: 'post',
    data
  })
}


export function update(url,data) {
  return request({
    url: url,
    method: 'post',
    data
  })
}